<%@ page contentType="text/html" pageEncoding="UTF-8" session="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="vdab" uri="http://vdab.be/tags" %>
<!doctype html>
<c:set var="contextPath" value="${pageContext.servletContext.contextPath}"/>
<html lang="nl">
  <head>
    <title>Meisjes jongens</title>
    <%-- <c:if test="${not empty cookie.meisjesjongens.value}">
      <link rel="stylesheet" href="${contextPath}/styles/${cookie.meisjesjongens.value}.css"/>
     </c:if> --%>
     
     <link rel="stylesheet" href="${contextPath}/styles/default.css"/>
     
  </head>
  <body>
  	<vdab:menu/>
    <c:url value="/meisjesjongens.htm" var="action"/>
    <h1>Meisjes jongens</h1>
    <form method="post" action="${action}" id="geslachtform">
      <input type="submit" name="meisjesjongens" value="meisjes" id="meisjes"/>
      <input type="submit" name="meisjesjongens" value="jongens" id="jongens">
    </form>
    <script>
      document.getElementById('geslachtform').onsubmit = function() {
        document.getElementById('meisjes').disabled = true;
        document.getElementById('jongens').disabled = true;
      };
    </script>
  </body>
</html> 